﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Permission
{
    /// <summary>
    /// 供应商用户实体
    /// </summary>
    [Serializable]
    public class SupplierUserEntity
    {
        private int _userid;
        private int _supplierid;
        private string _loginname;
        private string _password;
        private string _createtime;
        private int _status;
        private string _lastlogintime;
        private string _lastloginip;
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 供应商id(store库Supplier表主键)
        /// </summary>
        public int SupplierID
        {
            set { _supplierid = value; }
            get { return _supplierid; }
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName
        {
            set { _loginname = value; }
            get { return _loginname; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 用户创建时间
        /// </summary>
        public string CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 用户状态(1:正常；2：禁用;3:关闭)
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 上一次登录的时间
        /// </summary>
        public string LastLoginTime
        {
            set { _lastlogintime = value; }
            get { return _lastlogintime; }
        }
        /// <summary>
        /// 上次登录IP地址
        /// </summary>
        public string LastLoginIP
        {
            set { _lastloginip = value; }
            get { return _lastloginip; }
        }
    }
}
